package com.ihr360.insurance.dao;

import com.ihr360.insurance.model.dto.benefits.MandatoryBenefitsMode;
import com.ihr360.rest.reposity.SimpleRestReposity;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;

@RepositoryRestResource
public interface MandatoryBenefitModeReposity extends SimpleRestReposity<MandatoryBenefitsMode, Long>, PagingAndSortingRepository<MandatoryBenefitsMode, Long> {

//        @RestResource(path = "byName")
//    Page findByName(@Param("name") String name, Pageable p);

}